<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path=request.getContextPath(); %>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse"  data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">切换导航</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button> <a class="navbar-brand" href="#" style="margin-left:120px">宏图办公</a>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
            <li>
                <a href="#">首页</a>
            </li>
            <li>
                <a href="#"> 产品</a>
            </li>
            <li><a href="#">案例</a></li>
            <li><a href="#">博客</a></li>
            <li><a href="#">帮助</a></li>
        </ul>
        <form class="navbar-form navbar-left" role="search">
            <div class="form-group">
                <input class="form-control" type="text" />
            </div> <button type="submit" class="btn btn-default">搜索</button>
        </form>
        <ul class="nav navbar-nav">
            <li>
                <a href="#">链接</a>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">更多<strong class="caret"></strong></a>
                <ul class="dropdown-menu">
                    <li>
                        <a href="#">列表一</a>
                    </li>
                    <li>
                        <a href="#">列表二</a>
                    </li>
                    <li>
                        <a href="#">列表三</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="#">更多列表</a>
                    </li>
                    <li class="divider">
                    </li>
                    <li>
                        <a href="<%=path%>/admin/login">管理网站</a>
                    </li>
                </ul>
            </li>
        </ul>
        <form class="navbar-form navbar-right" role="search" style="margin-right:100px;">
            <a href="<%=path%>/admin/login" class="btn btn-success" >登陆</a>
            <a href="<%=path%>/index/register" class="btn btn-info">注册</a>
        </form>
    </div>
</nav>
